package com.dt.dubai.mber.service;

import com.dt.dubai.mber.entity.MberCustomerLevelEntity;
import com.dt.dubai.mber.service.innate.MberCustomerLevelSerInnateAbsImp;
import com.dt.dubai.mber.service.ser.MberCustomerLevelService;
import org.springframework.stereotype.Service;

@Service
public class MberCustomerLevelServiceImp extends MberCustomerLevelSerInnateAbsImp implements MberCustomerLevelService {

    /*innateServiceStart*/
    @Override
    protected void userSavEntity(MberCustomerLevelEntity inEntity) {

    }

    @Override
    protected void userModEntity(MberCustomerLevelEntity inEntity, MberCustomerLevelEntity upEntity) {
        upEntity.setCustomerRecordId(inEntity.getCustomerRecordId()); // 顾客登录记录ID
        upEntity.setLevel(inEntity.getLevel()); // 等级
        upEntity.setIntegral(inEntity.getIntegral()); // 积分

    }
    /*innateServiceEnd*/
    /*以上内容请误删除或是移动，系统升级使用，static系统升级覆盖用户修改，用户代码请写入下方*/
}
